from tkinter import *

window = Tk()
v = IntVar()
Radiobutton(window,text = "one",variable = v,value = 1).pack()
Radiobutton(window,text = "two",variable = v,value = 2).pack()
Radiobutton(window,text = "three",variable = v,value = 3).pack()
Label(window,textvariable = v).pack()
mainloop()
